<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>PowerVR SDK</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<table width="100%">
  <tr>
    <td width="33%">
      <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
    </td>
    <td width="33%">
      <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
    </td>
    <td width="34%">
      <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
    </td>
  </tr>
</table>
<hr>
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>SPODMesh Struct Reference</h1>Struct for storing POD mesh data.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PVRTModelPOD_8h-source.html">PVRTModelPOD.h</a>&gt;</code>
<p>
Collaboration diagram for SPODMesh:<p><center><img src="structSPODMesh__coll__graph.png" border="0" usemap="#SPODMesh__coll__map" alt="Collaboration graph"></center>
<map name="SPODMesh__coll__map">
<area href="classCPVRTBoneBatches.html" shape="rect" coords="7,7,154,34" alt="">
<area href="classPVRTMATRIXf.html" shape="rect" coords="178,7,290,34" alt="">
<area href="classCPODData.html" shape="rect" coords="315,7,403,34" alt="">
<area href="structEPODPrimitiveType.html" shape="rect" coords="427,7,568,34" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="structSPODMesh-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o0">nNumVertex</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o1">nNumFaces</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o2">nNumUVW</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o3">sFaces</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o4">pnStripLength</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o5">nNumStrips</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o6">sVertex</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o7">sNormals</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o8">sTangents</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o9">sBinormals</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o10">psUVW</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o11">sVtxColours</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o12">sBoneIdx</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o13">sBoneWeight</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o14">pInterleaved</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPVRTBoneBatches.html">CPVRTBoneBatches</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o15">sBoneBatches</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structEPODPrimitiveType.html">EPODPrimitiveType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o16">ePrimitiveType</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o17">mUnpackMatrix</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Struct for storing POD mesh data. 
<p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="o16" doxytag="SPODMesh::ePrimitiveType" ></a><p>
<br><br><h3>ePrimitiveType</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structEPODPrimitiveType.html">EPODPrimitiveType</a> <a class="el" href="structSPODMesh.html#o16">SPODMesh::ePrimitiveType</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Primitive type used by this mesh     </td>
  </tr>
</table>
<a class="anchor" name="o17" doxytag="SPODMesh::mUnpackMatrix" ></a><p>
<br><br><h3>mUnpackMatrix</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> <a class="el" href="structSPODMesh.html#o17">SPODMesh::mUnpackMatrix</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A matrix used for unscaling scaled vertex data created with PVRTModelPODScaleAndConvertVtxData     </td>
  </tr>
</table>
<a class="anchor" name="o1" doxytag="SPODMesh::nNumFaces" ></a><p>
<br><br><h3>nNumFaces</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned int <a class="el" href="structSPODMesh.html#o1">SPODMesh::nNumFaces</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Number of triangles in the mesh     </td>
  </tr>
</table>
<a class="anchor" name="o5" doxytag="SPODMesh::nNumStrips" ></a><p>
<br><br><h3>nNumStrips</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned int <a class="el" href="structSPODMesh.html#o5">SPODMesh::nNumStrips</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
If mesh is stripped: number of strips, length of pnStripLength array.     </td>
  </tr>
</table>
<a class="anchor" name="o2" doxytag="SPODMesh::nNumUVW" ></a><p>
<br><br><h3>nNumUVW</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned int <a class="el" href="structSPODMesh.html#o2">SPODMesh::nNumUVW</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Number of texture coordinate channels per vertex     </td>
  </tr>
</table>
<a class="anchor" name="o0" doxytag="SPODMesh::nNumVertex" ></a><p>
<br><br><h3>nNumVertex</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned int <a class="el" href="structSPODMesh.html#o0">SPODMesh::nNumVertex</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Number of vertices in the mesh     </td>
  </tr>
</table>
<a class="anchor" name="o14" doxytag="SPODMesh::pInterleaved" ></a><p>
<br><br><h3>pInterleaved</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned char* <a class="el" href="structSPODMesh.html#o14">SPODMesh::pInterleaved</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Interleaved vertex data     </td>
  </tr>
</table>
<a class="anchor" name="o4" doxytag="SPODMesh::pnStripLength" ></a><p>
<br><br><h3>pnStripLength</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned int* <a class="el" href="structSPODMesh.html#o4">SPODMesh::pnStripLength</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
If mesh is stripped: number of tris per strip.     </td>
  </tr>
</table>
<a class="anchor" name="o10" doxytag="SPODMesh::psUVW" ></a><p>
<br><br><h3>psUVW</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a>* <a class="el" href="structSPODMesh.html#o10">SPODMesh::psUVW</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List of UVW coordinate sets; size of array given by 'nNumUVW'     </td>
  </tr>
</table>
<a class="anchor" name="o9" doxytag="SPODMesh::sBinormals" ></a><p>
<br><br><h3>sBinormals</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o9">SPODMesh::sBinormals</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List of vertex binormals (Bx0, By0, Bz0, Bx1, By1, Bz1, Bx2, etc...)     </td>
  </tr>
</table>
<a class="anchor" name="o15" doxytag="SPODMesh::sBoneBatches" ></a><p>
<br><br><h3>sBoneBatches</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPVRTBoneBatches.html">CPVRTBoneBatches</a> <a class="el" href="structSPODMesh.html#o15">SPODMesh::sBoneBatches</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Bone tables     </td>
  </tr>
</table>
<a class="anchor" name="o12" doxytag="SPODMesh::sBoneIdx" ></a><p>
<br><br><h3>sBoneIdx</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o12">SPODMesh::sBoneIdx</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
nNumBones*nNumVertex ints (Vtx0Idx0, Vtx0Idx1, ... Vtx1Idx0, Vtx1Idx1, ...)     </td>
  </tr>
</table>
<a class="anchor" name="o13" doxytag="SPODMesh::sBoneWeight" ></a><p>
<br><br><h3>sBoneWeight</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o13">SPODMesh::sBoneWeight</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
nNumBones*nNumVertex floats (Vtx0Wt0, Vtx0Wt1, ... Vtx1Wt0, Vtx1Wt1, ...)     </td>
  </tr>
</table>
<a class="anchor" name="o3" doxytag="SPODMesh::sFaces" ></a><p>
<br><br><h3>sFaces</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o3">SPODMesh::sFaces</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List of triangle indices     </td>
  </tr>
</table>
<a class="anchor" name="o7" doxytag="SPODMesh::sNormals" ></a><p>
<br><br><h3>sNormals</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o7">SPODMesh::sNormals</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List of vertex normals (Nx0, Ny0, Nz0, Nx1, Ny1, Nz1, Nx2, etc...)     </td>
  </tr>
</table>
<a class="anchor" name="o8" doxytag="SPODMesh::sTangents" ></a><p>
<br><br><h3>sTangents</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o8">SPODMesh::sTangents</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List of vertex tangents (Tx0, Ty0, Tz0, Tx1, Ty1, Tz1, Tx2, etc...)     </td>
  </tr>
</table>
<a class="anchor" name="o6" doxytag="SPODMesh::sVertex" ></a><p>
<br><br><h3>sVertex</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o6">SPODMesh::sVertex</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List of vertices (x0, y0, z0, x1, y1, z1, x2, etc...)     </td>
  </tr>
</table>
<a class="anchor" name="o11" doxytag="SPODMesh::sVtxColours" ></a><p>
<br><br><h3>sVtxColours</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o11">SPODMesh::sVtxColours</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A colour per vertex     </td>
  </tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PVRTModelPOD_8h-source.html">PVRTModelPOD.h</a></ul>
<br>
<br>
<P align=left><FONT size=2><STRONG><A 
   href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> � 
   1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
<hr>
<address style="align: left;"><small><FONT color=f0f>
Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
</body>
</html>
